<?php

namespace app\api\controller; 

use app\common\controller\ApiController;


class Index  
{

    protected $noNeedLogin = ['index', 'get_banner', 'getAllMap'];
    protected $mustLogin = ['index'];


    public function test()
    {
        echo 'success';  
    }

    public function index()
    {
        $params = Request()->param();
        echo json_encode(['code' => 200, 'msg' => 'success', 'data' => $params]);
    }

    //系统邮件设置
    public function setSystemConfig() {}

    //系统邮件配置
    public function getSystemConfig() {}
}
